package org.cqut.system.work_record.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @author XiAoXu
 * @date 2021/6/9 17:12
 * @description
 */
@Data
@Accessors(chain = true)
public class TeacherWorkRecordVo {
    /**
     * 作业发布人数
     */
    private Integer total;

    /**
     * 当前完成人数
     */
    private Integer current;

    /**
     * 作业名称
     */
    private String workName;

    private String recordIds;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date contentStartTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date contentEndTime;

    @Override
    public String toString() {
        return "TeacherWorkRecordVo{" +
                "total=" + total +
                ", current=" + current +
                ", workName='" + workName + '\'' +
                ", recordIds=" + recordIds +
                ", contentStartTime=" + contentStartTime +
                ", contentEndTime=" + contentEndTime +
                '}';
    }
}
